/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.chapala.interviewquestions;

/**
 * 
 * @author mchapala
 */
public class CountNoOfWords {

	int countNoOfWords(String sentence) {
		String[] split = sentence.split("\r\n");
		return split.length;

	}

}
